package cn.wolfcode.mybatis_review.mapper;


import cn.wolfcode.mybatis_review.domain.Teacher;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Administrator
 */
@Component
public interface TeacherMapper {
    void save(Teacher teacher);
    List<Teacher> queryById(Long id);
}
